<template>
  <page-view>
    <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App" @hook:mounted="WatchChildMethod"/>
  </page-view>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue';
import PageView from '@/views/layout/PageView.vue'

export default {
  name: 'home',
  components: {
    PageView,
    HelloWorld
  },
  methods: {
  	WatchChildMethod () {
  	  console.log("[Home.vue文件的WatchChildMethod ()方法]","[子组件的生命周期函数mounted()被调用]")
  	}
  }
}
</script>
